package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动信息管理对象 activity
 * 
 * @author 海田精品馆
 * @date 2022-07-27
 */
public class ActivityCycle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long actId;

    /** 活动编号 */
    @Excel(name = "活动编号")
    private String actNo;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String actName;

    /** 活动开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date actStartTime;
//
//    /** 活动类型 */
//    private String actType;

    /** 活动状态 */
    private String actStatus;

    /** 是否删除 */
    private Integer delFlag;

    /** 活动结束时间 */
    private Date actEndTime;

    public void setActId(Long actId) 
    {
        this.actId = actId;
    }

    public Long getActId() 
    {
        return actId;
    }
    public void setActNo(String actNo) 
    {
        this.actNo = actNo;
    }

    public String getActNo() 
    {
        return actNo;
    }
    public void setActName(String actName) 
    {
        this.actName = actName;
    }

    public String getActName() 
    {
        return actName;
    }
    public void setActStartTime(Date actStartTime) 
    {
        this.actStartTime = actStartTime;
    }

    public Date getActStartTime()
    {
        return actStartTime;
    }
//    public void setActType(String actType)
//    {
//        this.actType = actType;
//    }
//
//    public String getActType()
//    {
//        return actType;
//    }
    public void setActStatus(String actStatus) 
    {
        this.actStatus = actStatus;
    }

    public String getActStatus() 
    {
        return actStatus;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setActEndTime(Date actEndTime) 
    {
        this.actEndTime = actEndTime;
    }

    public Date getActEndTime() 
    {
        return actEndTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("actId", getActId())
            .append("actNo", getActNo())
            .append("actName", getActName())
            .append("actStartTime", getActStartTime())
//            .append("actType", getActType())
            .append("actStatus", getActStatus())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("actEndTime", getActEndTime())
            .toString();
    }
}
